<template>
  <div>
    <img :src="src" alt="" width="100%">
  </div>
</template>

<script>
export default {
  name: 'Index',
  data() {
    return {
      picture: {},
      prefix: '',
      src: ''
    }
  },
  mounted() {
    this.prefix = this.$route.query.prefix
    this.picture = JSON.parse(this.$route.query.picture)
    this.src = this.prefix + this.picture.picture
  }
}
</script>

<style scoped>

</style>
